Important modifications on the magnetization loops of the superconductor have been observed in superconductor-ferromagnet hybrids due to the effects of the ferromagnetic components, which can be used for tuning the superconductor critical-current density Jc to desirable values. Here, a model based on an energy minimization procedure is presented to analyze the complex interaction between the superconductor and the ferromagnets. We show how the geometry and orientation of the ferromagnets can be chosen for shifting the position of the peaks appearing in the magnetization to positive or negative applied fields, and, consequently, to tune Jc in superconductor-ferromagnet hybrids.