A simple system to divide the wealth would be the following:
a. Ask each person to rank the others (no person can rank themself) according to how much of a contribution they feel each person had in the success. Those they feel contributed the most they give a $1$, those they feel contributed slightly less they give a $2$, etc. More than $1$ person can therefore be allocated a given rank. Thus, if a person feels everyone contributed equally, that person would give everyone a rank of $1$.
b. Sum the voted ranks of everyone. Give the smallest summed rank the value $1$, the second smallest summed rank the value $2$, etc. We now have the overall ranking of each persons's contribution as the team sees it.
c. Now to distribute the wealth. This can be done in infinitely many ways. We could decide that each person of rank $k$ gets $20$% (or p%) more than a person of rank $k+1$. Or we could decide that those of rank $1$ get a full share, those of rank $2$ get half a share, etc, where a share would be $x$ divided by the sum of the inverse of the ranks. There are, as said, infinitely many ways to do this once you have an ordering of the persons in the team.
Whether the above system is "just" I leave for others to decide. Whether it is "unanimous" I leave for the OP author.
I was going to add an example here, but it is past my bedtime. Will edit within 24 hours.
EDIT
As the first example, let's see what happens when $n=2$:

In this case, there can be only one outcome, namely that both team members are ranked equally. And whatever wealth distribution system we decide to use, they all have one thing in common, namely that they are solely based on differences in rank. As there is no difference here, each member gets an equal amount.
As a second example, let's try the one suggested by @Hagen von Eitzen in the comments. Here $n=4$ and $3$ of the members (the "chasers") are in collusion to make sure they get more than the fourth member, Harry. How well can they do? Well, their best bet would be to rank each other as $1$ and Harry as a $2$. Assuming Harry ($a4$ in the table below) suspects the collusion, his best bet is to rank the chasers equally, i.e. all with rank $1$. This gives the following result:

We see that Harry cannot completely avoid the consequences of a collusion between a majority of his team, but then I doubt any voting system could. And he is only $1$ rank lower than the "collusionists", so with a fairly mild wealth distribution system he would do okay.
No more examples for now, but I look forward to seeing other, perhaps fairer, voting systems.