Bottom line,the message I took from the story was that no matter how meagre and insignificant our gifts or talents might be,we should offer God the best we have to give Him. Barnabas,or the unamed monk in other stories,could juggle.
Could be that these Polish dancers offered the best skills and talents they had.
IIRC, Tomie de Paola did a wonderful version with beautiful illustrations.
Found it! Under a different title: