Riccardo Meggiorini put Bari ahead in the seventh minute only for David Trezeguet to bring Juve level midway through the first half.

Paulo Barreto ensured Bari led at the interval as he earned and scored a penalty in the 44th minute, and former Juve midfielder Sergio Almiron sealed the win in the 86th minute to lift them to within one point of fourth-placed Parma.

Juve remain five points adrift of Inter, who can move eight points clear with a win at Atalanta tomorrow.

In today's other match, Mariano Bogliacino struck a leveller for Napoli five minutes into stoppage time to snatch a 3-3 draw at Cagliari.

Ezequiel Lavezzi and Michele Pazienza had put Napoli 2-0 up, but Joaquin Larrivey reduced arrears before Alessandro Matri scored for the seventh successive game 10 minutes from time.

Jeda then fired Cagliari in front with the home side's third goal in the final 15 minutes, but Bogliacino claimed a last-gasp equaliser for Napoli, who also had Lavezzi sent off in the dying seconds.