How many wires in that ribbon and how far apart? If it's 10 per inch, find an old floppy disk internal cable or something, and cut a suitable size piece and solder it to the two boards...
Old ribbon cables can usually be found in thrift stores. Look for a cardboard box or plastic crate on the floor in a dusty corner of the store.