Thanks a lot Marco!
It does indeed, although I haven't sat down with my soldering iron to wire them all up properly yet. I'm not sure if your G25's internals are the same as the G27 because it has two buttons instead of six on the wheel. Nevertheless, the G27 uses a 4pin Mini Micro 2.0mm connector. Two of them, on for each bank of three buttons. You may have two 2pin connectors. Sorry I can't be of more help, but I hope I've pointed you in the right direction.
(Thought I'd make a note for anyone viewing this in mind of making their own wheels with buttons: I highly recommend you file off the tags on the male Mini Micro connectors. They 'clip' into the female connectors, but make removing them to swap wheels very difficult. It's still a tight fit after removing the tags, but they come out a little easier. I myself am planning on extending the female end of the connector so that it pulls out of the housing - making swapping wheels even easier)