Controlling 4 Digit 7 Segment Display

If it's wired like this, there is no way around it other than to change the internal wiring, which probably is more or less impossible.