I made a model and skinned it to an armature. But when I try to deform it with a bone rotation, model doesn't just rotate, also it gets smaller.
First I thought that its because of the armature, but when I put another model, this problem doesn't occur.
Here's the .blend file: http://pasteall.org/blend/26762
Try to rotate bone "joint5" in Z-axis.