Minijets in ultrarelativistic heavy ion collisions at RHIC and LHC