Rogic was replaced after 58 minutes as part of a double substitution as the Scottish champions chased a goal.

The Australian tested Malmo keeper Andre Hansen before half-time and also had a chance after a good run in the 50th minute.

Eventually Leigh Griffiths scored an 87th minute winner.

Alex Gersbach was an unused sub for Rosenborg.

Elsewhere, Danny Vukovic kept a clean sheet as Genk defeated Malmo 2-0.

Apostolos Giannou put in a full shift in attack as AEK Larnaca lost 1-0 at home to FC Zurich.