This handy USB extension cable will make it easy for you to enclose a device that has a mini-B USB type port. The jack half has two mounting 'ears' with M3 screws installed, ~28.5mm apart. Can be used with box walls 0.125" to 0.25" wide. If you have a thinner-walled box, simply swap out the M3 screws for shorter ones. Entire cable is 12.5"/318mm long.
eBay