Special generalized Gauss graphs and their application to minimization of functionals involving curvatures