Connecting two shafts is very easy with Aluminum Flex Shaft Coupler. These couplers are made of machined aluminum and have a spiral cut that makes them slightly flexible so they can be fit to two shafts even if they are not perfectly co-linear and will help reduce binding effects. The way they're cut, they're a little springy in the X Y & Z linear axis but not in the rotational axis. That means that you won't get increased backlash - so they're suitable for precision CNC work.
Aluminum Flex Shaft Coupler will connect two shafts of 8mm and 5mm diameter. A perfect add on for stepper motors. The couplers come with two sets of double set-screws (two per side) for secure attachment. You'll need a 2mm allen wrench to tighten/loosen the set-screws.
Adafruit Product Page: https://www.adafruit.com/products/1176