Results are reported of a general search for pair production of heavy resonances decaying to pairs of hadronic jets in events with at least four jets. The study is based on up to 19.4 fb(-1) of integrated luminosity from proton-proton collisions at a center-of-mass energy of 8 TeV, recorded with the CMS detector at the LHC. Limits are determined on the production of scalar top quarks (top squarks