A Bernstein result for minimal graphs of controlled growth