10 pieces of 24" long jumper wires with a female crimp-on connector on each end that fits onto standard square-pin male headers. One 40-pin single-row, 0.1" spaced male header that can be broken apart to the sizes you need.
Note: The picture shows black wires, but the current supply is red.