If it's for space constraints, why not use a connector with the magnetics integrated?
I'd post the digikey link to RJ45 jacks that are at least 100 base T with integrated magnetics, but it's enormous. I'm seeing 809 choices, and most of the connectors are only slightly bigger than an ethernet jack without them integrated.