Gotta be a better way...

Yes, mount the chip(s) on the perfboard. Here's one I did years ago.


Note: that's a saa1064 chip, not a max7219, but you get the idea.