Is some thicker than others? the thinnest ones probably go to the adjustment motor, the other three would be earth (black), dipped and main beam. Shouldn't be too hard to have a swap around until you get it right. I would go out and have a play with a multimeter on mine, but its got factory xenons so the wiring is completely different!
You say one side matched up fine? Because the wire colours are different on each side.